await
when calling WaaSWallet.SignMessage
from within an async Task if you wish to obtain the SignMessageReturn
object directly. Or, you can take the recommended approach which is to setup a handler function for the WaaSWallet.OnSignMessageComplete
event and call the WaaSWallet.SignMessage
method from anywhere (without await). For example: